package com.example.projecttest.mapper;

import com.example.projecttest.poji.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface EmpMapper {

//    @Select("select count(*) from emp")
//    public long count();
//
//
//    @Select("select * from emp limit#{start},#{pageSize}")
//    public List<Emp> page( Integer start, Integer pageSize);
//    @Select("select * from emp")
    public List<Emp>list(String name, short gender, LocalDate begin, LocalDate end);
}
